entry: Simplify selection rendering
authorMatthias Clasen <mclasen@redhat.com>
Wed, 11 Nov 2015 01:13:06 +0000 (20:13 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 11 Nov 2015 01:18:39 +0000 (20:18 -0500)
commit27d70cbb10c1d4b1d51b846c0833e436d09f5ab9
treeb2a2c0661023b4f06bcb63f2847a292f57ed0e45
parente9449f60146815d83b3b33d36af1f51a0b5b96ee
entry: Simplify selection rendering

Calling gtk_render_background for each rectangle in the region
leads to suboptimal and sometimes weird results. Getting this
right requires more work in Pango first. Go back to just rendering
a single background, and clip it to the selection region. This
matches what GtkLabel does.
gtk/gtkentry.c